package com.leyou.item.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author: Rose
 * @Date: 2021/3/31 17:40
 * @version: 1.0.0
 */
@Data
@Entity
@Table(name = "tb_stock")
public class Stock {

    @Id
    private Long skuId;

    /**
     *  秒杀可用库存
     *
     */
    private Integer seckillStock ;

    /**
     *
     *  已秒杀 数量
     */
    private Integer seckillTotal ;
    /**
     *  正常库存
     *
     */
    private Integer stock ;
}
